import React, { Component } from 'react';
import './styles/common.css'
import Tab from "./tab/tab.js"
import Find from "./components/find/find"
import { BrowserRouter as Router, Route,Switch} from "react-router-dom";


class App extends Component {
  render() {
    return (
      <div>
        <Router>
          <Switch>
           
            <Route  path="/auto-search"  component={Find} />
            <Route path="/" component={Tab}/>
            

           </Switch>
        </Router>
      </div>

    );
  }
}

export default App;
